import request from "@/utils/request"

/**
 * 分页获取新闻
 */
export function getNewsPage(params) {
  return request.get('/informations/get-information-page', { params })
}

/**
 * 获取资讯详情
 */
export function getNewsDetail(id) {
  return request.get(`/informations/get-information-by-id/${id}`)
}

/**
 * 获取新闻分类
 */
export function getNewsType() {
  return request.get('/informations/get-category-list?isSystem=0')
}

